* configurable width and should be drawn using a box instead of a line.
*
* Since: 2.10
+ *
+ * Deprecated: 3.20: Use CSS properties on the separator elements to style
+ * separators; the value of this style property is ignored.
*/
gtk_widget_class_install_style_property (klass,
g_param_spec_boolean ("wide-separators",
P_("Wide Separators"),
P_("Whether separators have configurable width and should be drawn using a box instead of a line"),
FALSE,
- GTK_PARAM_READABLE));
+ GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
/**
* GtkWidget:separator-width:
* This property only takes effect if the "wide-separators" style property is %TRUE.
*
* Since: 2.10
+ *
+ * Deprecated: 3.20: Use the standard min-width CSS property on the separator
+ * elements to size separators; the value of this style property is ignored.
*/
gtk_widget_class_install_style_property (klass,
g_param_spec_int ("separator-width",
P_("Separator Width"),
P_("The width of separators if wide-separators is TRUE"),
0, G_MAXINT, 0,
- GTK_PARAM_READABLE));
+ GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
/**
* GtkWidget:separator-height:
* This property only takes effect if the "wide-separators" style property is %TRUE.
*
* Since: 2.10
+ *
+ * Deprecated: 3.20: Use the standard min-height CSS property on the separator
+ * elements to size separators; the value of this style property is ignored.
*/
gtk_widget_class_install_style_property (klass,
g_param_spec_int ("separator-height",
P_("Separator Height"),
P_("The height of separators if \"wide-separators\" is TRUE"),
0, G_MAXINT, 0,
- GTK_PARAM_READABLE));
+ GTK_PARAM_READABLE|G_PARAM_DEPRECATED));
/**
* GtkWidget:scroll-arrow-hlength:
.header-bar-separator,
& > GtkBox > separator.vertical {
- -GtkWidget-wide-separators: true;
- -GtkWidget-separator-width: 1px;
border-width: 0 1px;
border-image: linear-gradient(to bottom,
transparentize($borders_color,1),
//vbox and hbox separators
separator {
// always disable separators
- // -GtkWidget-wide-separators: true;
background: transparentize(black, 0.9);
min-width: 1px;
min-height: 1px;
-
- // Font and File button separators
- button.file &.vertical,
- button.font &.vertical {
- // always disable separators
- -GtkWidget-wide-separators: true;
- }
}
/*********
.titlebar:not(headerbar) .header-bar-separator, .titlebar:not(headerbar) > GtkBox > separator.vertical,
headerbar .header-bar-separator,
headerbar > GtkBox > separator.vertical {
- -GtkWidget-wide-separators: true;
- -GtkWidget-separator-width: 1px;
border-width: 0 1px;
border-image: linear-gradient(to bottom, rgba(28, 31, 31, 0), #1c1f1f 30%, #1c1f1f 70%, rgba(28, 31, 31, 0) 100%) 0 1/0 1px stretch; }
.titlebar:not(headerbar) .header-bar-separator:backdrop, .titlebar:not(headerbar) > GtkBox > separator.vertical:backdrop,
background: rgba(0, 0, 0, 0.1);
min-width: 1px;
min-height: 1px; }
- button.file separator.vertical, button.font separator.vertical {
- -GtkWidget-wide-separators: true; }
/*********
* Lists *
.titlebar:not(headerbar) .header-bar-separator, .titlebar:not(headerbar) > GtkBox > separator.vertical,
headerbar .header-bar-separator,
headerbar > GtkBox > separator.vertical {
- -GtkWidget-wide-separators: true;
- -GtkWidget-separator-width: 1px;
border-width: 0 1px;
border-image: linear-gradient(to bottom, rgba(157, 157, 153, 0), #9d9d99 30%, #9d9d99 70%, rgba(157, 157, 153, 0) 100%) 0 1/0 1px stretch; }
.titlebar:not(headerbar) .header-bar-separator:backdrop, .titlebar:not(headerbar) > GtkBox > separator.vertical:backdrop,
background: rgba(0, 0, 0, 0.1);
min-width: 1px;
min-height: 1px; }
- button.file separator.vertical, button.font separator.vertical {
- -GtkWidget-wide-separators: true; }
/*********
* Lists *